package com.fs.m.server.domain;

/**
 * 结果编码
 *
 * User: zhuguoyin
 * Date: 13-10-7
 * Time: 下午2:09
 * To change this template use File | Settings | File Templates.
 */
public enum ResultCode {

    SUCCESS("0"),

    PARAMETER_ERROR("1"),

    NO_FUNCTION("2"),

    EXCEPTION("-1")

    ;

    private String code;

    private ResultCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
